package io.wins.vertx.service;

import io.vertx.core.Vertx;
import io.vertx.core.eventbus.Message;
import io.wins.vertx.entity.Classification;
import io.wins.vertx.service.impl.ClassServiceImpl;

public interface ClassService {
    static ClassService create(final Vertx vertx) {return new ClassServiceImpl(vertx);}

    ClassService getCustClasses(final Message tMessage);
    ClassService getAllClasses(final Message tMessage);
    ClassService disClasses(final String id, final Message tMessage);
    ClassService loadClass(final String id, final Message tMessage);
    ClassService addClasses(final Classification classification, final Message tMessage);
    ClassService saveClass(final Classification classification, final Message tMessage);
}
